<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>
  <div class="devui-demo-example" [dAnchor]="'basic-usage'">
    <div class="devui-demo-title">{{ 'components.radio.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-radio-basic" [sourceData]="basicSource">
      <d-basic demo></d-basic>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'disabled'">
    <div class="devui-demo-title">{{ 'components.radio.disabledDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-radio-disabled" [sourceData]="disabledSource">
      <d-disabled demo></d-disabled>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'condition-change'">
    <div class="devui-demo-title">{{ 'components.radio.conditionChangeDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.radio.conditionChangeDemo.description' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-radio-change" [sourceData]="conditionChangeSource">
      <d-condition-change demo></d-condition-change>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'condition-radio-group'">
    <div class="devui-demo-title">{{ 'components.radio.conditionRadioGroupDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.radio.conditionRadioGroupDemo.description' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-radio-change" [sourceData]="conditionChangeGroupSource">
      <d-condition-radio-group demo></d-condition-radio-group>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'horizontal'">
    <div class="devui-demo-title">{{ 'components.radio.horizontalDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-radio-horizontal" [sourceData]="horizontalSource">
      <d-horizontal demo></d-horizontal>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'vertical'">
    <div class="devui-demo-title">{{ 'components.radio.verticalDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-radio-vertical" [sourceData]="verticalSource">
      <d-vertical demo></d-vertical>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'custom'">
    <div class="devui-demo-title">{{ 'components.radio.customDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.radio.customDemo.description' | translate }}</div>
    <d-codebox id="components-radio-custom" [sourceData]="customSource">
      <d-custom demo></d-custom>
    </d-codebox>
  </div>
</div>
